package com.wy;

public class test {
    public static void main(String[] args) {
        int n=5;
        int num=0;
        for (int i = 1; i <n;++i) {
            System.out.println(i);
            for (int j=i;j<n;j++){
                num++;
            }
        }
    }
}
